package cn.song.freight.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 定价区域映射批量操作数据传输对象
 *
 * @author SongRenShuo
 * @version 3.0.0
 * @since 2025-08-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "定价区域映射批量操作数据传输对象")
public class PricingAreaMappingBatchDTO {

    @ApiModelProperty(value = "定价配置ID", required = true)
    @NotNull(message = "定价配置ID不能为空")
    private Long pricingId;

    @ApiModelProperty(value = "区域ID列表", required = true)
    @NotEmpty(message = "区域ID列表不能为空")
    private List<Long> areaIds;

    @ApiModelProperty(value = "操作人")
    private String operator;
}
